package com.snailvr.tv.network.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2016/10/31.
 */

public class ChannelPlayingResponBean implements Serializable{

    /**
     * code : 0
     * message : success
     * data : {"id":25,"online_users":10,"program":{"id":2,"name":"xxx","time":1234,"array_index":2},"next_program":{"id":3,"name":"xxx","time":1234,"array_index":3},"previous_channel":{"id":24,"name":"xxx","icon":"xxx","play_urls":[{"name":"xxx","url":"xxx"}]},"next_channel":{"id":26,"name":"xxx","icon":"xxx","play_urls":[{"name":"xxx","url":"xxx"}]}}
     */

    private int code;
    private String message;
    /**
     * id : 25
     * online_users : 10
     * program : {"id":2,"name":"xxx","time":1234,"array_index":2}
     * next_program : {"id":3,"name":"xxx","time":1234,"array_index":3}
     * previous_channel : {"id":24,"name":"xxx","icon":"xxx","play_urls":[{"name":"xxx","url":"xxx"}]}
     * next_channel : {"id":26,"name":"xxx","icon":"xxx","play_urls":[{"name":"xxx","url":"xxx"}]}
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int id;
        private int online_users;
        /**
         * id : 2
         * name : xxx
         * time : 1234
         * array_index : 2
         */

        private ProgramBean program;
        /**
         * id : 3
         * name : xxx
         * time : 1234
         * array_index : 3
         */

        private NextProgramBean next_program;
        /**
         * id : 24
         * name : xxx
         * icon : xxx
         * play_urls : [{"name":"xxx","url":"xxx"}]
         */

        private PreviousChannelBean previous_channel;
        /**
         * id : 26
         * name : xxx
         * icon : xxx
         * play_urls : [{"name":"xxx","url":"xxx"}]
         */

        private NextChannelBean next_channel;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getOnline_users() {
            return online_users;
        }

        public void setOnline_users(int online_users) {
            this.online_users = online_users;
        }

        public ProgramBean getProgram() {
            return program;
        }

        public void setProgram(ProgramBean program) {
            this.program = program;
        }

        public NextProgramBean getNext_program() {
            return next_program;
        }

        public void setNext_program(NextProgramBean next_program) {
            this.next_program = next_program;
        }

        public PreviousChannelBean getPrevious_channel() {
            return previous_channel;
        }

        public void setPrevious_channel(PreviousChannelBean previous_channel) {
            this.previous_channel = previous_channel;
        }

        public NextChannelBean getNext_channel() {
            return next_channel;
        }

        public void setNext_channel(NextChannelBean next_channel) {
            this.next_channel = next_channel;
        }

        public static class ProgramBean {
            private int id;
            private String name;
            private int time;
            private int view_angle;
            private int project_style;
            private int control_model;
            private int eye_style;
            private int array_index;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getTime() {
                return time;
            }

            public void setTime(int time) {
                this.time = time;
            }

            public int getView_angle() {
                return view_angle;
            }

            public void setView_angle(int view_angle) {
                this.view_angle = view_angle;
            }

            public int getProject_style() {
                return project_style;
            }

            public void setProject_style(int project_style) {
                this.project_style = project_style;
            }

            public int getControl_model() {
                return control_model;
            }

            public void setControl_model(int control_model) {
                this.control_model = control_model;
            }

            public int getEye_style() {
                return  eye_style;
            }

            public void setEye_style(int eye_style) {
                this.eye_style = eye_style;
            }

            public int getArray_index() {
                return array_index;
            }

            public void setArray_index(int array_index) {
                this.array_index = array_index;
            }
        }

        public static class NextProgramBean {
            private int id;
            private String name;
            private int time;
            private int array_index;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getTime() {
                return time;
            }

            public void setTime(int time) {
                this.time = time;
            }

            public int getArray_index() {
                return array_index;
            }

            public void setArray_index(int array_index) {
                this.array_index = array_index;
            }
        }

        public static class PreviousChannelBean {
            private int id;
            private String name;
            private String icon;
            /**
             * name : xxx
             * url : xxx
             */

            private List<PlayUrlsBean> play_urls;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public List<PlayUrlsBean> getPlay_urls() {
                return play_urls;
            }

            public void setPlay_urls(List<PlayUrlsBean> play_urls) {
                this.play_urls = play_urls;
            }

            public static class PlayUrlsBean {
                private String name;
                private String url;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }

        public static class NextChannelBean {
            private int id;
            private String name;
            private String icon;
            /**
             * name : xxx
             * url : xxx
             */

            private List<PlayUrlsBean> play_urls;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public List<PlayUrlsBean> getPlay_urls() {
                return play_urls;
            }

            public void setPlay_urls(List<PlayUrlsBean> play_urls) {
                this.play_urls = play_urls;
            }

            public static class PlayUrlsBean {
                private String name;
                private String url;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }
    }
}
